home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Ubuntu 9.10 PL
/
karmelkowy-koliberek-desktop-9.10-i386-PL.iso
/
casper
/
filesystem.squashfs
/
usr
/
lib
/
hal
/
debian-setup-keyboard
next >
Wrap
Text File
|
2009-06-22
|
501b
|
22 lines
#!/bin/sh
#
# borrowed from Fedora and modified to work with console-setup
#
[ -x /usr/bin/hal-set-property ] || exit 0
. /etc/default/console-setup > /dev/null 2>&1 || exit 0
hal_set () {
if [ -n "$2" ]; then
/usr/bin/hal-set-property --direct --udi "$UDI" --key input.xkb.$1 --string "$2"
else
/usr/bin/hal-set-property --direct --udi "$UDI" --key input.xkb.$1 --remove
fi
}
hal_set model $XKBMODEL
hal_set layout $XKBLAYOUT
hal_set variant $XKBVARIANT
hal_set options $XKBOPTIONS